<?php
/**
 * My new Zend Framework project
 * 
 * @author  
 * @version 
 */
if (!defined('ROOT_DIR')) {
		define('ROOT_DIR', dirname(dirname(__FILE__))); 
}

		
set_include_path(ROOT_DIR.'/library' 
. PATH_SEPARATOR . ROOT_DIR.'/application/default/models/' 
. PATH_SEPARATOR . ROOT_DIR.'/application/default/models/infrastructure/' 
. PATH_SEPARATOR . ROOT_DIR.'/application/default/' 
. PATH_SEPARATOR . get_include_path());




require_once 'Initializer.php';
 
// Prepare the front controller. 
$frontController = Zend_Controller_Front::getInstance(); 

// you can set this Zend_Config in your httpd.conf file
$config = (!getenv('Zend_Config')) ? 'local' : getenv('Zend_Config');

$frontController->registerPlugin(new Initializer($config));    

// Dispatch the request using the front controller. 
$frontController->dispatch(); 

?>

